#include "CpLog.h"
#include <time.h>
#include <TRandom3.h>
#include "CpPoint.h"
#include "CpSimpleGenerator.h"
#include "CpFunctions.h"

ClassImp(CpSimpleGenerator)

void CpSimpleGenerator::Generate(CpPoint *p)
{

  TRandom3 r;
  r.SetSeed();
  p->SetPosition(r.Gaus(0.0,1e-4),r.Gaus(0.0,1e-4),1e-3);
  p->SetVelocity(CpFunctions::kBloodVelX,CpFunctions::kBloodVelY,CpFunctions::kBloodVelZ);
  p->SetTime(0);

}

